<?php
namespace common\models\trade;
use common\models\BaseModel;

/*
	交易产品

*/

class TradeGoodsModel extends BaseModel
{

	public static function tableName()
	{
		return '{{%trade_goods}}';
	}

	public function rules()
	{
		return [
			[['name','type','describe','condition_group','condition_rule','image'],'string'],
			[['mch_id','btype','state','create_time','goods_id','update_time'],'integer'],
			[['value','num'],'number'],
		];
	}


}